import Vue from 'vue'
import App from './App.vue'
import VueRouter from 'vue-router'
import router from './router/index'
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
Vue.use(VueRouter);
Vue.use(ElementUI);
Vue.config.productionTip = false
import store from './store';

new Vue({
  router,
  store,
  render: h => h(App),
  beforeCreate() {
    Vue.prototype.x = this // 安装全局事件总线
  }
}).$mount('#app')
